package com.aidem.onecartoon.modules.article.entity;

import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * @description 借书记录表
 * @author aidem
 * @date 2021-04-11
 */
@TableName("book_borrowed_record")
public class BookBorrowedRecord implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* 主键
	*/
	private Integer id;

	/**
	* 学号
	*/
	private Integer number;

	/**
	* 借书时间
	*/
	private Date startTime;

	/**
	* 最迟归还时间
	*/
	private Date endTime;

	/**
	* 书名
	*/
	private String book;

	/**
	* 借书状态，直接string 未还/已还
	*/
	private String type;

	public BookBorrowedRecord() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getBook() {
		return book;
	}

	public void setBook(String book) {
		this.book = book;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
